home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / comms / icom0425.arj / POSTDOWN.BAT < prev    next >
DOS Batch File  |  1994-04-25  |  2KB  |  45 lines

  1. @Echo off
  2. Echo off
  3. rem  POSTDOWN.BAT is run -after- all automated Jobs complete, but only if the
  4. rem  following conditions are met:
  5. rem    1.  It must be found in the Intellicomm 'home directory' (where ICOM.EXE
  6. rem        is located, or where the ICOM environment variable points to).
  7. rem        Locating it on the PATH is not sufficient.
  8. rem    2.  There must have been at least one 'Download tagged files' requested
  9. rem        in the job(s) executed.
  10. rem    3.  One or more files must be found in your Download Directory (assumes
  11. rem        there would be nothing to do were the directory empty).
  12. rem
  13. rem  Its intended purpose is to automatically carry out any routine maintenance
  14. rem  on newly downloaded files; such as calling a program which strips those
  15. rem  pesky archive comments, or adds a new pesky comment/ad of your own. (?)
  16. rem  If you have no use for this BAT, simply rename it to POSTDOWN.BAK and
  17. rem  it will not be called.
  18. rem
  19. rem  NOTE that you may also create PREDOWN.BAT to carry out any routine
  20. rem  maintenance BEFORE file transfers.  You can also create POSTDOWN.SCR
  21. rem  and PREDOWN.SCR (Icom scripts are much more flexible than .BAT files).
  22. rem  And if you prefer to handle each new download individually you can use
  23. rem  POSTFILE.BAT and/or POSTFILE.SCR.  See "Automation in Detail" in the
  24. rem  Icom online help for a rundown on all of these pre/post files.
  25. rem
  26. rem  Also remember that Intellicomm has the ability to automatically move
  27. rem  -old- downloads into your Upload Directory for you, as soon as a Job
  28. rem  that requests new downloads is 'Run' (you needn't do so here, unless you
  29. rem  wish to move the files immediately -after- the downloads).  Toggle
  30. rem  'Move Downloads?' on the main setup File Transfer screen to enable this
  31. rem  feature.
  32. rem
  33. rem  Intellicomm performs a CHDIR to your Download Directory, and passes your
  34. rem  Download Directory to this BAT as %1, and the first directory on your
  35. rem  Upload Path as %2 (trailing slashes are auto-stripped from directory
  36. rem  names).  E.g. COPY *.* %2 copies all downloads to the first directory on
  37. rem  your Upload Path (%1 isn't needed in this command since Icom has already
  38. rem  performed a CHDIR to the Download Directory).
  39. rem
  40. Echo Rename POSTDOWN.BAT to POSTDOWN.BAK to bypass running of this file.
  41. rem
  42. rem Example command to strip archive comments:
  43. rem StripZIP *.ZIP
  44.  
  45.